<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Plan
 *
 * @property int $id id
 * @property string|null $title 计划名称
 * @property string|null $start_time 计划开始时间
 * @property string|null $end_time 计划结束时间
 * @property int $select_num 计划结束时间
 * @property string|null $select_time 计划结束时间
 * @property int $all_num 所有报名人数
 * @property int $invent_num 虚拟人数
 * @property float $amount 会员金额
 * @property string|null $content 内容
 * @property int $status 计划状态，0：未开启，1：开启
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Plan onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereAllNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereInventNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereSelectNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereSelectTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereStartTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Plan withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Plan withoutTrashed()
 * @mixin \Eloquent
 * @property int $up_num 自动增加数量
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereUpNum($value)
 * @property string|null $author 作者
 * @property string|null $free_content 免费内容
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereAuthor($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereFreeContent($value)
 * @property string|null $desc 描述内容
 * @property int $video_id 视频id
 * @property string|null $banner_link banner链接
 * @property int $banner_img_id banner图id
 * @property int $plan_num 计划人数
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereBannerImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereBannerLink($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan wherePlanNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Plan whereVideoId($value)
 */
class Plan extends Model
{
    protected $table='plan';
    use SoftDeletes;
}